INFICON UL200 communication driver

 

INFICON UL200 communication driver is the driver to communicate with leak detector controller of INFICON GmbH in Germany.

 

1. Read Settings

 

<Figure 1> is read setting example of INFICON UL200 communication driver.

<Figure 1>  Read setting example of INFICON UL200 communication driver

Device part of  <Figure 1> input Com Port(COM1), Baud Rate(9600), Parity Bit(0), Data Bit(8), Stop Bit(1) respectively, according to the controller.

Also you can set 'saving start address of readed string' (0 ~ 9999, default = 0 ), 'received string saving count'(default = 200), 'Timeout when multi line reading' by using option part.

 

INFICON UL200 communication driver read schedule

Read schedule setting parameters are as follows:

1) Station – Don't care(fixed to 0).

2) Read command – Command = S1 ~ S4,  S10 ~ S68,  G1 ~ G20,  Q0 ~ Q60, ... ( refer to <Table 1>, <Table 2> )

3) Read Start Address Don't care(fixed to 0).

4) Save start address for Communication Server – Saving start address of Communication Server.

5) Read Size – Fixed to 1.

 

Read schedule example)

READ,   0,     G1,    0,   300,    1,

READ,   0,     G2,    0,   301,    1,

READ,   0,     G3,    0,   302,    1,

READ,   0,    Q22,    0,   303,    1,

 

<Table 1>, <Table 2> are command and contents of Main Functions and Read, Setting command.

Command Parameter Contents Remarks
LR none Leak rate, date, time, status String memory : readed string, date, time, status
Other memory : measuring range(0 : normal, 1 : low, 2 : over), measuring value
START Start of measuring  
STOP Stop of measuring  
VENT Vent Inlet  
ZERO ON/OFF Switch Zero On/Off  
CAL none Internal/External Calibration Status of controller : Stand By, VENT – Internal Calibration,           
Measure – External Calibration.
CLEAR Calibration stop, delete error status  
MANUAL Manual Switch ON/OFF  
TEST Running the mass test  
<Table 1> Command and contents of Main Functions
Command Parameter Contents

Remarks

S1 ~ S4 none Monitor status information for normal measuring

 

S10 ~ S29 Sometime needed status information while measuring

 

S30 ~ S68 Information when Faults

 

G1 ~ G4 Data value read for measured data

G1 : LR value,

G2 : PE value,

G3 : PV value,

G4 : Equal contents for LR command at Main Functions

G5 ~ G20 Read of additional measured data

pressure, voltage, temperature, HZ, etc

Q0 ~ Q37 Setting value read of controller

U0 ~ U37 : setting command

Q50 ~ Q60

U50 ~ U60 : setting command

U0 ~ U37 , setting parameter °è±â ¼³Á¤ °ª Ãâ·Â, ÀÎÀÚ °ªÀº ¸í·É¿¡ µû¶ó ´Ù¸§

 

U0 ~ U37

can write after input 'password 2'

F2 ~ F34 none Running of Service Function

can read, setting after input 'password

TEST none Running the mass test

 

<Table 2> Command and contents of Read, Setting command

Please refer to 'Interface Descriptions' or other manual of INFICON UL200 for more command information.

INET Lightrol communication driver store the same data in WORD, DWORD, FLOAT, STRING memory(except a part of read command), but the data format are different.

If you click the icon  in protocol option part, you can see the dialogue box such as <Figure 2>. you can also set the save position and count by using this part. 

<Figure 2> Example of INFICON UL200 communication driver¡¯s Option dialog box
 
2. Writing settings

You can send command by using 'writing settings'. 

 

Digital Write 

Digital write setting parameters are as follows:

1)  PORT                   Port no. (0 ~ 255)

2)  STATION             Don't care(fixed to 0).

3)  ADDRESS          Data saving start address for read command. (decimal unit)

4)  Extra1                   Command = S1 ~ S4,  S10 ~ S68,  G1 ~ G20,  Q0 ~ Q60, ... ( refer to <Table 1>, <Table 2> )

5)  Extra2                   Data saving method for read command.

1 – save only STRING memory,

2 – save WORD, DWORD, FLOAT memory,

0, 3, ... -  save STRING memory + WORD, DWORD, FLOAT memory.

 

Write example 1)

PORT:0,  station:0, ADDRESS:0400, Extra1: START,  Extra2 : 0

The setting parameter shown above is start measuring command example.

 

Write example 2)

PORT:0,  station:0, ADDRESS:0401, Extra1: CLEAR,  Extra2 : 0

The setting parameter shown above is calibration stop or delete error status command example.

 

Write example 3)

PORT:0,  station:0, ADDRESS:0402, Extra1: LR,  Extra2 : 0

The setting parameter shown above is 'leak rate, date, time, status' read request command example. After write command, the readed value(when read OK) save at 402 ~ 403 (WORD, DWORD, FLOAT memory) and 402 ~ 404 (STRING memory).

 

Write example 4)

PORT:0,  station:0, ADDRESS:0405, Extra1: S32,  Extra2 : 0

The setting parameter shown above is 'operation time of controller' read request command example. After write command, the readed value(when read OK) save at 405 WORD, DWORD, FLOAT, STRING memory.

 

Write example 5)

PORT:0,  station:0, ADDRESS:0406, Extra1: Q1,  Extra2 : 0

The setting parameter shown above is 'setting value of trigger 2' read request command example. After write command, the readed value(when read OK) save at 406 WORD, DWORD, FLOAT, STRING memory.

 

Write example 6)

PORT:0,  station:0, ADDRESS:0406, Extra1: U1,1.0E-05,  Extra2 : 0

The setting parameter shown above is trigger 2 setting value write example. The setting value equal 1.0E-05.

 

Write example 7)

PORT:0,  station:0, ADDRESS:0407, Extra1: U2,1.0E-06,  Extra2 : 0

The setting parameter shown above is trigger 3 setting value write example. The setting value equal 1.0E-06.

 

Write example 8)

PORT:0,  station:0, ADDRESS:0407, Extra1: U21,23.JUL02,  Extra2 : 1

The setting parameter shown above is date setting example for UL200 controller. The setting date equal 07-23-2002.

 

Write example 9)

PORT:0,  station:0, ADDRESS:0407, Extra1: U22,19:17:25,  Extra2 : 1

The setting parameter shown above is time setting example for UL200 controller. The setting date equal 19:17:25.

 

Analog Write

Analog write and digital write have the same setting parameters except output value.

 

Note) Write command for long lenght of Extra1 such as 'U0,10.E-04' is needed 7.9 version Scada Server program or higher.

 

3. Terminal screen example for INFICON UL200 communication driver

Terminal screen example of  INFICON UL200 communication driver at SCADA SCADA Server are as follows.

a) Make 20 String tag String and Edit box at Studio.

b) Make digital output tag for writing command at Studil such <Figure 3>.

<Figure 3> Example of terminal screen at Stuido program

c) Make script at botton from <Figure 3> in order to see previous command.

Function

Contents

to see previous command at terminal screen

if(pos == $scroll_pos) return;

pos = $scroll_pos;

 

for(i = 0; i < 20; i = i+1) {

   @sprintf(tag_name, "ST_%02d.address", i);

   @SetTagValue(tag_name, pos+i);

}

<Table 3> Script example for previous command at terminal screen

d) Please check( v ) and select 'Key Down' at Expand tab at Edit box such as <Figure 3>. Then, <Figure 4> will be opened.

e) At <Figure 4>, please make Key Down script such as <Table 4> and <Figire 5>.

f) Also, select tag that store the contents of Edit box at Tag tab.( example : STRING02 )

g) <Figure 6> is terminal screen example at SCADA Server.

<Figure 4> Example of Expand tab at Edit box
Function Contents

script example when pressing 'enter' key

retn = @KeyGetCode();

if(retn != 13) return;    // don't Enter key, return

@sprintf($DO_EXEC.extra1, $STRING02);

$DO_EXEC = ON;

@EditBoxSetText("EditBox1", "");

<Table 3> Script example when pressing 'enter' key
<Figure 5> 'KeyDown' script example of EditBox
 
<Figure 6> Terminal screen example at SCADA Server

 

4. Connectoin of communication cable and main power

 Connection of communication cable and main power line are as follows.

 

Connection of communication cable

Please connect RS-232C communication cable to 25 pin connector of INFICON UL200 controller such as <Figure 7>.

<Figure 7> is connection example of communication cable to INFICON UL200 controller.

 

UL200 controller ( 25 pin )   computer (when 25 pin )  ( when 9 pin )

( 1 )  --------------------------------- ( 1 )                               Frame GND

( 2 )  --------------------------------- ( 2 )                   ( 3 )       TxD

( 3 )  --------------------------------- ( 3 )                  ( 2 )       RxD

( 4 )  --------------------------------- ( 4 )                  ( 7 )       RTS

( 5 )  --------------------------------- ( 5 )                  ( 8 )       CTS

( 6 )  --------------------------------- ( 6 )                  ( 6 )       DSR

( 7 )  --------------------------------- ( 7 )                  ( 5 )       GND

(20)  --------------------------------- (20)                   ( 4 )       DTR

 

<Figure 7> Connection example of communication cable to INFICON UL200 controller

 

Connection of main power

Please connect 220V AC main power to main power connector of INFICON UL200 controller.

<Figure 8> is appearance of INFICON UL200 controller.

<Figure 8> Appearance of INFICON UL200 controller